package com.ruoyi.service;

import com.ruoyi.domain.BeCompleted;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 竣工资料Service接口
 * 
 * @author ruoyi
 * @date 2020-06-24
 */
public interface IBeCompletedService 
{
    /**
     * 查询竣工资料
     * 
     * @param beId 竣工资料ID
     * @return 竣工资料
     */
    public BeCompleted selectBeCompletedById(Long beId);

    /**
     * 查询竣工资料列表
     * 
     * @param beCompleted 竣工资料
     * @return 竣工资料集合
     */
    public List<BeCompleted> selectBeCompletedList(BeCompleted beCompleted);

    /**
     * 查询竣工资料列表
     *
     * @param sid 竣工资料
     * @return 竣工资料集合
     */
    public List<BeCompleted> selectBeCompletedLists(Long sid);


    /**
     * 新增竣工资料
     * 
     * @param beCompleted 竣工资料
     * @return 结果
     */
    public int insertBeCompleted(BeCompleted beCompleted);

    /**
     * 修改竣工资料
     * 
     * @param beCompleted 竣工资料
     * @return 结果
     */
    public int updateBeCompleted(BeCompleted beCompleted);

    /**
     * 批量删除竣工资料
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBeCompletedByIds(String ids);

    /**
     * 删除竣工资料信息
     * 
     * @param beId 竣工资料ID
     * @return 结果
     */
    public int deleteBeCompletedById(Long beId);

    /**
     * 根据资料类型和外键查询
     *
     * @param beType  类型
     * @param bePro  外键
     * @return 结果
     */
    public List<BeCompleted> selectTypePro(Long beType,Long bePro);

    /**
     * 导出所有
     *
     * @param beCompleted 用户信息
     * @return 用户信息集合信息
     */
    public List<BeCompleted> selectUserexport(BeCompleted beCompleted);
}
